/* ----------------------------------------------- */
/* ESTILOS GLOBALES */
/* ----------------------------------------------- */
:root {
    --menu-bg: rgb(20, 20, 20);
    --menu-color: rgb(240, 240, 240);
    --menu-shadow-color: rgba(0, 0, 0, .5);
    --dropdown-bg: rgb(80, 80, 80);
    --link-bg: rgba(30, 85, 148, .7);
    --solutions-titles: rgb(40, 40, 40);
    --solutions-paragraphs: rgb(100, 100, 100);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;;
    overflow-x: hidden;
}

/* IA */
body.menu-open {
    overflow: hidden;
    height: 100%;
}

/* IA */
@keyframes fadeGrowIn {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(12px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* IA */
.reveal {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
    transition: opacity .8s ease, transform .8s ease;
}

/* IA */
.reveal.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ----------------------------------------------- */
/* ENCABEZADO MOBILE FIRST */
/* ----------------------------------------------- */
.header {
    display: flex;
    align-items: center;
    width: 100%;
    background-color: transparent;
    padding: .5em .8em;
    position: fixed;
    transition: all .5s ease;
    z-index: 10;
}

.header.down {
    background-color: rgba(5, 5, 5, .5);
    backdrop-filter: saturate(180%) blur(10px);
}

/* IA */
.header.mobile-hidden {
    transform: translateY(-100%);
}

/* IA */
.header.mobile-visible {
    transform: translateY(0);
    background-color: rgba(5, 5, 5, .5);
}

.header_link_logo {
    max-width: 250px;
}

.header_logo {
    display: block;
    width: 100%;
}

.menu_open, .menu_close {
    display: block;
    background-color: transparent;
    color: var(--menu-color);
    border: none;
    font-size: 2rem;
    cursor: pointer;
}

.menu_open {
    margin-left: auto;
}

.menu_close {
    color: var(--menu-color);
}

.list_one_ext, .list_two_ext {
    display: none;
}

.nav {
    opacity: 0;
    visibility: hidden;
    width: 65%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4em;
    padding: 2.5em .5em;
    position: fixed; /* IA, yo -> position: absolute */
    top: 0;
    right: 0;
    bottom: 0;
    background-color: var(--menu-bg);
    box-shadow: 0 0 0 100vmax var(--menu-shadow-color);

    /* IA */
    height: 100vh;
    overflow-y: auto;
    transform: translateX(100%);
    transition:
        transform .35s ease,
        opacity .35s ease,
        visibility 0s linear .35s;
}

.nav.visible {
    opacity: 1;
    visibility: visible;

    /* IA */
    transform: translateX(0);
    transition:
        transform .35s ease,
        opacity .35s ease,
        visibility 0s;
}

.list_one, .list_two {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.list_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .3em;
    overflow: hidden;
}

.arrow .list_arrow {
    transform: rotate(90deg);
}

.list_button {
    display: flex;
    justify-content: center;
    width: 45%;
    color: var(--menu-color);
}

.list_button--click {
    cursor: pointer;
}

.list_link {
    text-decoration: none;
    color: var(--menu-color);
    text-align: center;
    font-size: 1rem;
}

.list_link:hover:not(.meeting_link) {
    text-decoration: underline;
}

.list_link:active:not(.meeting_link) {
    text-decoration: underline;
    color: rgb(200, 200, 200);
}

.list_arrow {
    margin-left: .3em;
    transition: transform .3s;
}

.list_dropdown {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5em;
    height: 0;
    transition: height .4s;
}

.dropdown_item, .dropdown_item_contact {
    text-align: center;
    color: var(--menu-color);
    width: 100%;
    border-radius: 5px;
    padding: .2em 1em;
    background-color: var(--dropdown-bg);
    font-size: .9rem;
}

.dropdown_item {
    cursor: pointer;
}

.dropdown_item_contact {
    cursor: default;
}

.dropdown_item:hover, .dropdown_item_contact:hover {
    background-color: rgb(130, 130, 130);
    transition: all .1s ease-in-out;
}

.dropdown_item:active {
    background-color: rgb(170, 170, 170);
    transform: scale(0.95);
}

.dropdown_link {
    text-decoration: none;
    color: var(--menu-color);
}

.meeting_link, .hero_link {
    background-color: var(--link-bg);
    padding: .3em .7em;
    border-radius: 20px;
    border: 2px solid rgb(104, 159, 223);
}

.meeting_link:hover, .hero_link:hover {
    background-color: rgb(104, 159, 223);
    color: rgb(21, 54, 92);
    transition: all .1s ease-in-out;
}

.meeting_link:active, .hero_link:active {
    background-color: rgb(174, 208, 248);
    border: 2px solid rgb(174, 208, 248);
    transform: scale(0.95);
}

/* ----------------------------------------------- */
/* SECCIÓN DEL HERO */
/* ----------------------------------------------- */
.space_image {
    position: relative;
    width: 100%;
    height: 600px;
    background-image:
        linear-gradient(rgba(0,0,0,.3)),
        url(../../Images/Home-Images/Main-BG.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2em;
    width: 100%;
    padding: 1.5em 1.5em 0;
}

.hero_title {
    color: var(--menu-color);
    text-align: center;
    font-weight: 600;
    font-size: clamp(2rem, 4vw, 4.5rem);
}

.hero_paragraph {
    text-align: center;
    color: var(--menu-color);
    font-weight: 500;
    font-size: clamp(1.2rem, 2vw, 2rem);
}

.hero_link {
    text-decoration: none;
    color: var(--menu-color);
    font-size: clamp(1em, 1.5vw, 1.5em);
}

/* ----------------------------------------------- */
/* CUERPO: EXPERIENCIA CON MARCAS (GALERÍA) */
/* ----------------------------------------------- */
.brands {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5em;
    padding: 2.3em 2em;
    background-color: rgb(230, 230, 230);
}

.brands_paragraph {
    font-weight: 600;
    font-size: clamp(1.2rem, 1.8vw, 1.8rem);
    text-align: center;
    color: rgb(100, 100, 100);
}

.brands_logos {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    gap: 1em 3em;
    align-items: center;
    justify-content: center;
}

.brands_logo {
    width: 7%;
    min-width: 100px;
    height: auto;
}

/* ----------------------------------------------- */
/* CUERPO: CARDS DE SOLUCIONES */
/* ----------------------------------------------- */
.solutions {
    display: flex;
    flex-direction: column;
    gap: 2em;
    padding: 5em 1.5em;
}

.solutions_texts {
    text-align: center;
}

.solutions_title {
    color: var(--solutions-titles);
    font-weight: 500;
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
    line-height: 1.3;
}

.solutions_paragraph {
    color: var(--solutions-paragraphs);
    font-weight: 500;
    font-size: clamp(1rem, 1.6vw, 1.4rem);
    line-height: 1.5;
    margin-top: 1em;
}

.solutions_cards {
    display: flex;
    flex-flow: row wrap; /* IA, yo -> flex-flow: column wrap xd*/
    gap: 2em;
    justify-content: center;
    align-items: center;
}

.solutions_link {
    text-decoration: none;
    border-radius: 20px;
    width: 100%;
    max-width: 300px;

    /* IA */
    transition: transform .2s ease-in-out, box-shadow .2s ease-in-out;
}

.solutions_link:hover {
    /* IA */
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0,0,0,.2);
}

.solutions_link:active {
    transform: scale(.98);
}

.solutions_card {
    outline: 4px solid var(--menu-color);
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    gap: clamp(1.5em, 1.8vw, 2em);
}

.solutions_card::before {
    content: "";
    height: 100px;
    background-image: url(../../Images/Home-Images/Networking.webp);
    background-size: cover;
    background-position: center center;
    border-radius: 20px 20px 0 0;
}

.solutions_link:nth-child(2) ::before {
    background-image: url(../../Images/Home-Images/Cybersecurity.webp);
    background-size: cover;
    background-position: center center;
}

.solutions_link:nth-child(3) ::before {
    background-image: url(../../Images/Home-Images/Cloud.webp);
    background-size: cover;
    background-position: top center;
}

.solutions_link:nth-child(4) ::before {
    background-image: url(../../Images/Home-Images/Consultory.webp);
    background-size: cover;
    background-position: center center;
}

.card_title {
    color: var(--solutions-titles);
    font-weight: 600;
    font-size: clamp(1.3rem, 1vw, 1.3rem);
    text-align: left;
    padding: 0 1rem;
}

.card_paragraph {
    color: var(--solutions-paragraphs);
    font-weight: 400;
    font-size: clamp(.9rem, 1.2vw, 1rem);
    text-align: left;
    padding: 0 1rem;
}

.card_logos {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    align-items: center;
    padding: 1em 0;
    background-color: var(--menu-color);
    border-radius: 0 0 20px 20px;
    height: 100px;
}

.card_logo {
    width: 60px;
    height: auto;
}

.solutions_link:nth-child(2) .card_logo:first-of-type {
    height: 15px;
    width: 120px;
}

.solutions_link:nth-child(2) .card_logo:nth-child(2) {
    height: 50px;
    width: 100px;
}

.solutions_link:nth-child(3) .card_logo:nth-child(2) {
    height: 30px;
    width: 95px;
}

/* ----------------------------------------------- */
/* CUERPO: CARROUSEL DE SERVICIOS */
/* ----------------------------------------------- */
.services {
    display: flex;
    flex-direction: column;
    gap: 2.3em;
    padding: 5em 2em;
    background-color: var(--menu-bg);
    margin-top: 1.5em;
}
.services_title {
    text-align: center;
    font-weight: 500;
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
    line-height: 1.3;
    color: var(--menu-color);
}

.services_carrousel {
    width: 100%;
    max-width: 1200px;
    overflow: hidden;
    margin: 0 auto;
}

.carrousel_container {
    position: relative;
    width: 100%;
    min-height: 400px;
    overflow: hidden;
}

.carrousel_slide {
    width: 100%;
    max-width: 1000px;
    min-height: 10vh;
    padding: 1.5em 1em;
    background-color: rgba(62, 62, 62, .6);
    border-radius: 20px;
    height: 400px;
    transition: opacity .8s ease-in-out;
    margin: 0 auto;

    /* IA */
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

.carrousel_slide.active {
    opacity: 1;
    pointer-events: auto;
}

.carrousel_slide:hover {
    cursor: pointer;
    background-color: rgb(90, 90, 90);
    transition: .1s ease-in-out;
}

.carrousel_slide:active {
    transform: scale(0.95);
}

.slide_link {
    text-decoration: none;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1em;
    color: var(--menu-color);
    align-items: flex-start;
    width: 100%;
}

.slide_texts {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.slide_title {
    font-size: clamp(1.3rem, 2.3vw, 1.8rem);
    font-weight: 600;
}

.slide_paragraph {
    font-size: clamp(.9rem, 1.7vw, 1.2rem);
}

.slide_image {
    width: 100%;
    max-width: 400px;
    display: block;
    border-radius: 20px;
    margin: 0 auto;
}

.carrousel_slide:nth-child(3) .slide_image {
    max-height: 235px;
    max-width: 350px;
}

.carrousel_slide:nth-child(4) .slide_image {
    max-height: 235px;
    max-width: 350px;
}

.carrousel_controllers {
    width: 100%;
    background-color: transparent;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
}

.controller {
    list-style: none;
    width: 1em;
    height: 1em;
    background-color: rgb(62, 62, 62);
    margin: 1em;
    transition: .1s ease-in;
    border-radius: 50%;
}

.controller.active {
    background-color: var(--menu-color);
}

.controller:hover {
    cursor: pointer;
}

.controller:active {
    transform: scale(0.9);
}

/* ----------------------------------------------- */
/* FINAL DE PÁGINA */
/* ----------------------------------------------- */
.footer {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
    background-color: rgb(5, 5, 5);
}

.footer_first {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    padding: 3em 2em 1em;
    justify-content: flex-start;
}

.footer_link_container {
    width: 100%;
    max-width: 1023px;
    height: fit-content;
    padding: 0 .5em;
    display: flex;
}

.footer_link_image {
    width: 70%;
    max-width: 230px;
    height: fit-content;
    margin: 0 auto;
}

.footer_image {
    width: 100%;
    display: block;
}

.footer_container {
    display: flex;
    flex-direction: column;
    gap: .5em;
    flex-grow: 1;
}

.footer_title {
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    font-weight: 500;
    border-bottom: 1px solid var(--menu-color);
    color: var(--menu-color);
}

.footer_list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .3em;
}

.footer_item {
    color: var(--solutions-paragraphs);
    margin-left: .5em;
    font-size: clamp(1rem, 1vw, 1.2rem);
}

.footer_link {
    text-decoration: none;
    color: inherit;
    transition: all .1s ease;
}

.footer_link:hover {
    color: var(--menu-color);
    text-decoration: underline;
}

.footer_link:active {
    color: rgb(170, 170, 170);
}

.footer_last {
    padding: 1em;
    border-top: 1px solid rgb(60, 60, 60);
    color: rgb(60, 60, 60);
}

.last_paragraph {
    text-align: center;
    font-size: clamp(.8rem, 1.5vw, 1rem);
}

/* ----------------------------------------------- */
/* RESPONSIVE DESGIN */
/* BREAKPOINT: 1024px */
/* ----------------------------------------------- */
@media (min-width: 1024px) {
    /* ----------------------------------------------- */
    /* ENCABEZADO (DESKTOP) */
    /* ----------------------------------------------- */
    .menu_open, .nav {
        display: none;
    }

    /* IA */
    .header.mobile-visible {
        transform: translateY(0);
        background-color: rgba(5, 5, 5, .5);
        backdrop-filter: saturate(180%) blur(10px);
    }

    /* IA */
    .header.mobile-hidden {
        transform: translateY(-100%);
    }

    .header {
        justify-content: space-around;
        padding-left: 0;
        padding-right: 0;
    }

    .list_one_ext, .list_two_ext {
        display: flex;
    }

    ul {
        list-style: none;
    }

    .list_one_ext, .list_two_ext {
        gap: clamp(2em, 4vw, 7em);
    }
    
    .list_item_ext:hover > .list_dropdown_ext {
        display: flex;
        flex-direction: column;
        gap: .5em;
    }
    
    .list_link_ext {
        text-decoration: none;
        color: var(--menu-color);
        font-size: clamp(.9rem, 1vw, 1.1rem);
    }
    
    
    .list_link_ext:not(.meeting_link):hover {
        text-decoration: underline;
    }
    
    .list_arrow {
        display: none;
    }
    
    .list_dropdown_ext {
        display: none;
        position: absolute;
        background-color: rgba(100, 100, 100, .9);
        margin-top: .1em;
    }

    .dropdown_item_ext, .dropdown_item_contact_ext {
        padding: clamp(.2em, 1vw, .5em);
        color: var(--menu-color);
        font-size: clamp(.8rem, 1vw, 1rem);
        transition: all .1s ease;
    }

    .dropdown_item_ext:hover, .dropdown_item_contact_ext:hover {
        background-color: rgb(40, 40, 40);
        cursor: default;
    }

    .dropdown_item_ext:hover {
        cursor: pointer;
    }

    .dropdown_item_ext:active {
        background-color: rgb(5, 5, 5);
    }

    .dropdown_link_ext {
        color: inherit;
        text-decoration: none;
    }

    /* ----------------------------------------------- */
    /* SECCIÓN DEL HERO */
    /* ----------------------------------------------- */
    .space_image {
        height: 900px;
    }

    /* ----------------------------------------------- */
    /* CARROUSEL DE SERVICIOS */
    /* ----------------------------------------------- */
    .carrousel_slide {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
    }

    .slide_link {
        display: flex;
        flex-direction: row;
        width: 900px;
    }

    .slide_texts {
        display: flex;
        flex-direction: column;
        width: 550px;
        padding: 0 1em;
        flex-grow: 1;
    }

    .slide_image {
        width: fit-content;
        margin: 0 20px;
        flex-grow: 1;
    }

    /* ----------------------------------------------- */
    /* FINAL DE PÁGINA */
    /* ----------------------------------------------- */
    .footer_first {
        gap: 3em;
        justify-content: space-evenly;
        flex-wrap: nowrap;
    }

    .footer_link_container {
        width: fit-content;
    }

    .footer_link_image {
        margin: 0;
        width: 400px;
    }

    .footer_container {
        flex-grow: 0;
        gap: .8em;
    }

    .footer_list {
        gap: inherit;
    }
}